package cate.game.role;

import cate.game.framework.ISilenceSpanable;
import easy.java.dev.note.NoteField;
import org.springframework.data.annotation.Id;

/** 角色部件 */
public abstract class RolePart extends RoleDependent implements ISilenceSpanable {

    @Id
    @NoteField("角色唯一ID")
    public String uid;

    public RolePart() {}

    public RolePart(Role role) {
        super(role);
        this.uid = role.getUid();
    }
}
